********************************************************************************
--------------------------------------------------------------------------------
** DOCUMENTATION FOR REPLICATION MATERIALS
** Thuerk and Kluever
** Hitting the Sweet Spot? (Comparative Political Studies)
--------------------------------------------------------------------------------
********************************************************************************
************************** INSTRUCTIONS ****************************************
********************************************************************************

Here you can find the replication files for the paper "Hitting the Sweet Spot? The Electoral Consequences of Supporting Minority Governments" by Maria Thürk and Heike Klüver, forthcoming in Comparative Political Studies.

To replicate the analysis, users need to have both Stata and R installed on their computer.

The material contains all R scripts and Stata do-files with the code and instructions on how to proceed and replicate all models and figures presented in the paper and appendix. It furthermore contains all data files required for the analysis.

Below, we provide an overview of which data files and code files, as well as the statistical programs needed/used for the analysis of the models and figures in the paper.

--------------------------------------------------------------------------------
********************************************************************************

Models 1-80 (and Figures 1, 2, 7) have been analyzed in *Stata 18*
Replication materials:
- Stata dofile: replication_main_dofile_Thuerk_Kluever_CPS.do
- Stata datasets: 
  1. main_dataset_ThuerkKluever.dta 
  2. enlarged_data_ThuerkKluever.dta
--------------------------------------------------------------------------------
********************************************************************************

Models 81-88 (and Figures 3, 8, 9) have been analyzed in *R Studio*
Replication materials:
- R script: Replication_Panel_Match_Figures_3_8_9.R
- Stata datasets: 
  1. enlarged_data_ThuerkKluever.dta 
  2. scandinavia_only_data_PanelMatch_ThuerkKluever.dta
--------------------------------------------------------------------------------
********************************************************************************

Models 89 and 90 (and Figures 6, 10, 11) have been analyzed in *Stata 18*
Replication materials: 
- Stata dofile: replication_dofile_Thuerk_Kluever_CPS_causalmechanisms_table17.do
- Stata dataset: 
  1. case_study_sweden_ThuerkKluever.dta
--------------------------------------------------------------------------------
********************************************************************************

Figures 4, 5, 12, 13 have been analyzed in *R Studio*
Replication materials: 
- R script: replication_dofile_Thuerk_Kluever_CPS_causalmechanisms_table17.R
- Excel dataset: 
  1. data_fig5.xlsx
- RDA file dataset: 
  1. data_fig4.RDA
--------------------------------------------------------------------------------
********************************************************************************
